package com.blue.seata.storage;

import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author liulei
 * @version 1.0
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableAutoDataSourceProxy
public class StorageApplication {

    private static final Logger logger = LoggerFactory.getLogger(StorageApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(StorageApplication.class, args);
        logger.info("{} is started!", StorageApplication.class.getSimpleName());
    }
}
